#define _CRT_SECURE_NO_WARNINGS
#include "head.h"



void Text()
{

	SL sl;
	SeqInit(&sl);

	SeqListPushBack(&sl, 1);
	SeqListPushBack(&sl, 2);
	SeqListPushBack(&sl, 3);
	SeqListPushBack(&sl, 4);
	SeqListPushBack(&sl, 5);

	SeqListPushFront(&sl, 4);


	SLPrint(&sl);


	SeqListPopFront(&sl);

	SLPrint(&sl);

	printf("The result is %d \n", SeqListFind(&sl, 8));
}
void Text2()
{
	SL sl;
	SeqInit(&sl);
	SeqListPushBack(&sl, 1);
	SeqListPushBack(&sl, 2);
	SeqListPushBack(&sl, 3);
	SeqListPushBack(&sl, 4);
	SeqListPushBack(&sl, 5);
	SeqListInsert(&sl, 0, 6);

	SLPrint(&sl);
	SeqListErase(&sl, 0);
	SLPrint(&sl);
	SeqListErase(&sl, 3);
	SLPrint(&sl);



}


int main()
{

	Text2();

	return 0;
}